package com.edu.dao;

import com.edu.data.Admin;
import org.apache.ibatis.annotations.Param;

public interface AdminMapper {
    Admin deleteByPrimaryKey(Integer id);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer id);

    Admin selectLogin(@Param("account")String account, @Param("password")String password);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);
}